﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Simulation
{
    public partial class ManagerForm : Form
    {
        public ManagerForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new AuctionFactoryForChapter3();
            host.Show();
        }

        private void buttonExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new AuctionFactoryForChapter4GSP();
            host.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new AuctionFactoryForChapter4GFP();
            host.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new AuctionFactoryForChapter4VCG();
            host.Show();
        }

        private void button2_Click_1(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new AuctionFactoryForChapter4LEF();
            host.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {

            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter5WithGSP();
            host.Show();
        }

        private void button6_Click(object sender, EventArgs e)
        {

            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter5WithGFP();
            host.Show();
        }

        private void button7_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter5WithVCG();
            host.Show();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter5WithLEF();
            host.Show();
        }

        private void button9_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter6WithGSP();
            host.Show();
        }

        private void button10_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter6WithGFP();
            host.Show();
        }

        private void button11_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter6WithVCG();
            host.Show();
        }

        private void button12_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter6WithLEF();
            host.Show();
        }

        private void button13_Click(object sender, EventArgs e)
        {
            var host = new KeywordAuction.SimulatorHostForm();
            host.AuctionHostFactory = new Factory.AuctionFactoryForChapter6WithGSP();
            host.Show();
        }

    }
}
